import Vue from 'vue';
import VueRouter from 'vue-router';

Vue.use(VueRouter);

const routes = [
  {
    path: '/',
    redirect: {
      name: 'Hao123',
    },
  },
  {
    path: '/report-boot/Home',
    name: 'Home',
    component: () => import('../framework/Home')
  },
  {
    path: '/report-boot/MateRemote',
    name: 'MateRemote',
    component: () => import('../framework/MateRemote')
  },
  {
    path: '/report-boot/Hao123',
    name: 'Hao123',
    component: () => import('../framework/Hao123')
  },
  {
    path: '/report-boot/JsonFormat',
    name: 'JsonFormat',
    component: () => import('../framework/JsonFormat')
  },
];

const router = new VueRouter({
  mode: 'history',
  routes
});

export default router;
